<div region="north" split="true" border="false" style="overflow: hidden;height: 60px;background: #1ca1ee;line-height: 60px;color: #fff; font-family: Verdana, 微软雅黑,黑体">
    <span style="float:right; padding-right:20px;" class="head">
        <label style="color:#1ca1ee;">{$Request.ip}</label>欢迎 {$Request.session["appUser"]["姓名"]}({$Request.session["appUser"]["身份"]})
        <!-- <span id="clear" style="cursor: pointer;">清除缓存</span> -->
        <a href="/logout" id="loginOut">安全退出</a>
    </span>
    <span style="padding-left:10px; font-size: 16px;height: 40px;line-height: 40px;">
        <i class="fa fa-cogs" aria-hidden="true" style="color: #fff;"></i>
    	云校通OA办公系统
    </span>
</div>
<script>
    $('#clear').on('click',function(){
        $.ajax({
            url: "{:url('Login/clear')}",
            type: 'POST',
            dataType: 'html',
        })
        .done(function(data) {
            alert(data);
        })
        .fail(function() {
            alert("发生错误");
        });

    })
</script>